package com.base.library.widget;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.LinearLayout;

/**
 * Created by ChengZhi on 2017/5/6.
 */
public class ChooseTagView extends LinearLayout {

    private RecyclerViewBase subclass_tab;
    private RecyclerViewBase parent_tab;
    private com.base.library.manager.RealmManager realm;
    private OnChooseListener onChooseListener;

    public ChooseTagView(Context context) {
        this(context, null);
    }

    public ChooseTagView(Context context, AttributeSet attrs) {
        super(context, attrs);
        // TODO Auto-generated constructor stub
        initView(context, attrs);
    }

    public ChooseTagView(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
        // TODO Auto-generated constructor stub
        initView(context, attrs);
    }

    public void initView(Context context, AttributeSet attrs) {
        if (!isInEditMode()) {

//            TypedArray typeArray = context.obtainStyledAttributes(attrs, R.styleable.ChooseTagView);
//            typeArray.recycle();
        }
    }

    public void setOnChooseListener(OnChooseListener onChooseListener) {
        this.onChooseListener = onChooseListener;
    }

    public interface OnChooseListener {

    }

    @Override
    protected void onDetachedFromWindow() {
        super.onDetachedFromWindow();
    }
}
